//修改 ----传参
const state={
    title:'新增',
    rowData:{},
}

const getters={

}

const actions={

}

const mutations={
   changeTitle(state,title){
    state.title=title;
    // console.log(state.title);
   },
   changeRowData(state,row){
    state.rowData=row;
    console.log(state.rowData);
   }
}

export default {
    namespaced:true,
    state,
    mutations,
    actions,
    getters
}